export const actions = {
    useractions(context,user){
        context.commit("changeuser",user)
        
        if(user.token){
            sessionStorage.setItem("user",JSON.stringify(user))
        }else{
            sessionStorage.removeItem("user")
        }
    }
}


